package com.example.order.model.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

@EqualsAndHashCode(callSuper = true)
@Data
@ToString
@TableName("u_cart")
public class CartPO extends BasePO{

    private Long id;
    //用户ID
    @TableField(value = "user_id")
    private Long userId;
    //商品ID
    @TableField(value = "goods_id")
    private Long goodsId;
    //商品名称
    @TableField(value = "goods_name")
    private Long goodsName;
    //商品图片
    @TableField(value = "goods_url")
    private Long goodsUrl;
    //商品数量
    @TableField(value = "goods_count")
    private Long goodsCount;
    //商品单价
    @TableField(value = "goods_price")
    private Long goodsPrice;
}
